{% extends template.self %} {% block head %} {{ super() }}
<meta name="google-site-verification" content="bMotEbgYwkzA3k4PkuyK_NUdz0bKh-Phz0oUwNmRSVo" />
<style>
    /*
    Disable antialias
    */
    * {
        -webkit-font-smoothing: initial !important
    }

    body {
        text-rendering: initial !important;
        font-smoothing: initial !important;
    }

    /* deny access chapter */
    .summary li.chapter>span {
        cursor: not-allowed;
        opacity: .3;
    }

    /* console ui */

    .mirror-console-attach-button-wrapper {
        margin-top: -1.275em;
        margin-bottom: 1.275em
    }

    .mirror-console-wrapper {
        margin-top: 1.275em;
        margin-bottom: 1.275em
    }

    /* file name for codeblock */
    .code-filename {
        background-color: #eee;
        display: inline-block;
        padding: 2px 8px;
        line-height: inherit;
        margin-bottom: 0px !important;
    }
    /* Markdown */
    .markdown-section sup, .markdown-section sub {
        font-size: 75%;
    }
</style>
<meta name="theme-color" content="#ffffff">
<link rel="manifest" href="{{ "/manifest.json"|resolveFile }}">
<script>
    if ("serviceWorker" in navigator) {
        const isLocalhost = Boolean(
            // preview
            /netlify.com/.test(window.location.hostname) ||
            // local
            window.location.hostname === "localhost" ||
            // [::1] is the IPv6 localhost address.
            window.location.hostname === "[::1]" ||
            // 127.0.0.1/8 is considered localhost for IPv4.
            window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)
        );
        if (!isLocalhost) {
            window.addEventListener("load", () => {
                navigator.serviceWorker.register("{{ '/sw.js'|resolveFile }}");
            });
        }
    }
</script>
{% endblock %}
